package cn.modoumama.excelUilt.common;

import cn.modoumama.excelUilt.po.SheetEntity;
import org.apache.poi.ss.usermodel.*;

/**
 * @Description: 设置单元格
 *
 * @Auther: dengqiang
 * @Date: 2018/12/11 22:43
 * @version   V1.0
 */
public abstract class InitCell {

	/**
	 * @Description: 获取单元格内容
	 *
	 * @param value
	 *
	 * @Auther: dengqiang
	 * @Date: 2018/12/11 22:45
	 * @version   V1.0
	 */
	public  Object getCallValue(Object value){
		return value;
	}
	/**
	 * 获取单元格内容
	 * @param cell
	 * @param value
	 * @return
	 * @Auther: dengqiang
	 * @Date: 2020/08/18 15:10
	 * @version   V1.0.3
	 */
	public  Object getCallValue(Cell cell, Object value){
		return getCallValue(value);
	}

	public CellStyle getCellStyle(Object value, CellStyle cellStyle, SheetEntity sheetEntity){
		return cellStyle;
	}
}
